Optimal. Leaf size=196 \[ \frac{2 b^2 \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (2,-e^{\cosh ^{-1}(c x)}\right )}{c^2 d \sqrt{d-c^2 d x^2}}-\frac{2 b^2 \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (2,e^{\cosh ^{-1}(c x)}\right )}{c^2 d \sqrt{d-c^2 d x^2}}+\frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{c^2 d \sqrt{d-c^2 d x^2}}+\frac{4 b \sqrt{c x-1} \sqrt{c x+1} \tanh ^{-1}\left (e^{\cosh ^{-1}(c x)}\right ) \left (a+b \cosh ^{-1}(c x)\right )}{c^2 d \sqrt{d-c^2 d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.445352, antiderivative size = 196, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 6, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.222, Rules used = {5798, 5718, 5694, 4182, 2279, 2391} \[ \frac{2 b^2 \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (2,-e^{\cosh ^{-1}(c x)}\right )}{c^2 d \sqrt{d-c^2 d x^2}}-\frac{2 b^2 \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (2,e^{\cosh ^{-1}(c x)}\right )}{c^2 d \sqrt{d-c^2 d x^2}}+\frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{c^2 d \sqrt{d-c^2 d x^2}}+\frac{4 b \sqrt{c x-1} \sqrt{c x+1} \tanh ^{-1}\left (e^{\cosh ^{-1}(c x)}\right ) \left (a+b \cosh ^{-1}(c x)\right )}{c^2 d \sqrt{d-c^2 d x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5798
Rule 5718
Rule 5694
Rule 4182
Rule 2279
Rule 2391
Rubi steps
\begin{align*} \int \frac{x \left (a+b \cosh ^{-1}(c x)\right )^2}{\left (d-c^2 d x^2\right )^{3/2}} \, dx &=-\frac{\left (\sqrt{-1+c x} \sqrt{1+c x}\right ) \int \frac{x \left (a+b \cosh ^{-1}(c x)\right )^2}{(-1+c x)^{3/2} (1+c x)^{3/2}} \, dx}{d \sqrt{d-c^2 d x^2}}\\ &=\frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{c^2 d \sqrt{d-c^2 d x^2}}-\frac{\left (2 b \sqrt{-1+c x} \sqrt{1+c x}\right ) \int \frac{a+b \cosh ^{-1}(c x)}{-1+c^2 x^2} \, dx}{c d \sqrt{d-c^2 d x^2}}\\ &=\frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{c^2 d \sqrt{d-c^2 d x^2}}-\frac{\left (2 b \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int (a+b x) \text{csch}(x) \, dx,x,\cosh ^{-1}(c x)\right )}{c^2 d \sqrt{d-c^2 d x^2}}\\ &=\frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{c^2 d \sqrt{d-c^2 d x^2}}+\frac{4 b \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{c^2 d \sqrt{d-c^2 d x^2}}+\frac{\left (2 b^2 \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \log \left (1-e^x\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{c^2 d \sqrt{d-c^2 d x^2}}-\frac{\left (2 b^2 \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \log \left (1+e^x\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{c^2 d \sqrt{d-c^2 d x^2}}\\ &=\frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{c^2 d \sqrt{d-c^2 d x^2}}+\frac{4 b \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{c^2 d \sqrt{d-c^2 d x^2}}+\frac{\left (2 b^2 \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \frac{\log (1-x)}{x} \, dx,x,e^{\cosh ^{-1}(c x)}\right )}{c^2 d \sqrt{d-c^2 d x^2}}-\frac{\left (2 b^2 \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \frac{\log (1+x)}{x} \, dx,x,e^{\cosh ^{-1}(c x)}\right )}{c^2 d \sqrt{d-c^2 d x^2}}\\ &=\frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{c^2 d \sqrt{d-c^2 d x^2}}+\frac{4 b \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{c^2 d \sqrt{d-c^2 d x^2}}+\frac{2 b^2 \sqrt{-1+c x} \sqrt{1+c x} \text{Li}_2\left (-e^{\cosh ^{-1}(c x)}\right )}{c^2 d \sqrt{d-c^2 d x^2}}-\frac{2 b^2 \sqrt{-1+c x} \sqrt{1+c x} \text{Li}_2\left (e^{\cosh ^{-1}(c x)}\right )}{c^2 d \sqrt{d-c^2 d x^2}}\\ \end{align*}
Mathematica [A] time = 0.965408, size = 210, normalized size = 1.07 \[ \frac{-2 b^2 \sqrt{\frac{c x-1}{c x+1}} (c x+1) \text{PolyLog}\left (2,-e^{-\cosh ^{-1}(c x)}\right )+2 b^2 \sqrt{\frac{c x-1}{c x+1}} (c x+1) \text{PolyLog}\left (2,e^{-\cosh ^{-1}(c x)}\right )+a^2+2 a b \cosh ^{-1}(c x)-2 a b \sqrt{\frac{c x-1}{c x+1}} (c x+1) \log \left (\tanh \left (\frac{1}{2} \cosh ^{-1}(c x)\right )\right )+b^2 \cosh ^{-1}(c x) \left (\cosh ^{-1}(c x)-2 \sqrt{\frac{c x-1}{c x+1}} (c x+1) \left (\log \left (1-e^{-\cosh ^{-1}(c x)}\right )-\log \left (e^{-\cosh ^{-1}(c x)}+1\right )\right )\right )}{c^2 d \sqrt{d-c^2 d x^2}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.269, size = 542, normalized size = 2.8 \begin{align*}{\frac{{a}^{2}}{{c}^{2}d}{\frac{1}{\sqrt{-{c}^{2}d{x}^{2}+d}}}}-{\frac{{b}^{2} \left ({\rm arccosh} \left (cx\right ) \right ) ^{2}}{{c}^{2}{d}^{2} \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }}+2\,{\frac{{b}^{2}\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{cx-1}\sqrt{cx+1}{\rm arccosh} \left (cx\right )\ln \left ( 1-cx-\sqrt{cx-1}\sqrt{cx+1} \right ) }{{c}^{2}{d}^{2} \left ({c}^{2}{x}^{2}-1 \right ) }}+2\,{\frac{{b}^{2}\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{cx-1}\sqrt{cx+1}{\it polylog} \left ( 2,cx+\sqrt{cx-1}\sqrt{cx+1} \right ) }{{c}^{2}{d}^{2} \left ({c}^{2}{x}^{2}-1 \right ) }}-2\,{\frac{{b}^{2}\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{cx-1}\sqrt{cx+1}{\rm arccosh} \left (cx\right )\ln \left ( 1+cx+\sqrt{cx-1}\sqrt{cx+1} \right ) }{{c}^{2}{d}^{2} \left ({c}^{2}{x}^{2}-1 \right ) }}-2\,{\frac{{b}^{2}\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{cx-1}\sqrt{cx+1}{\it polylog} \left ( 2,-cx-\sqrt{cx-1}\sqrt{cx+1} \right ) }{{c}^{2}{d}^{2} \left ({c}^{2}{x}^{2}-1 \right ) }}-2\,{\frac{ab\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }{\rm arccosh} \left (cx\right )}{{c}^{2}{d}^{2} \left ({c}^{2}{x}^{2}-1 \right ) }}+2\,{\frac{ab\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{cx-1}\sqrt{cx+1}\ln \left ( cx+\sqrt{cx-1}\sqrt{cx+1}-1 \right ) }{{c}^{2}{d}^{2} \left ({c}^{2}{x}^{2}-1 \right ) }}-2\,{\frac{ab\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\sqrt{cx-1}\sqrt{cx+1}\ln \left ( 1+cx+\sqrt{cx-1}\sqrt{cx+1} \right ) }{{c}^{2}{d}^{2} \left ({c}^{2}{x}^{2}-1 \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{a^{2}}{\sqrt{-c^{2} d x^{2} + d} c^{2} d} + \int \frac{b^{2} x \log \left (c x + \sqrt{c x + 1} \sqrt{c x - 1}\right )^{2}}{{\left (-c^{2} d x^{2} + d\right )}^{\frac{3}{2}}} + \frac{2 \, a b x \log \left (c x + \sqrt{c x + 1} \sqrt{c x - 1}\right )}{{\left (-c^{2} d x^{2} + d\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{-c^{2} d x^{2} + d}{\left (b^{2} x \operatorname{arcosh}\left (c x\right )^{2} + 2 \, a b x \operatorname{arcosh}\left (c x\right ) + a^{2} x\right )}}{c^{4} d^{2} x^{4} - 2 \, c^{2} d^{2} x^{2} + d^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x \left (a + b \operatorname{acosh}{\left (c x \right )}\right )^{2}}{\left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \operatorname{arcosh}\left (c x\right ) + a\right )}^{2} x}{{\left (-c^{2} d x^{2} + d\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]